Opioid medication practices observed in chronic pain patients presenting for all-causes to emergency departments: prevalence and impact on health care outcomes